//
//  MororcadeRespose.m
//  ICrEAM
//
//  Created by mac on 16/11/16.
//  Copyright © 2016年 mac. All rights reserved.
//

#import "MororcadeRespose.h"
//12781001  是
@implementation MororcadeRespose
+ (NSDictionary *)replacedKeyFromPropertyName{
    return @{
             @"license" : @"LICENSE",
             @"deliveryDate" : @"DELIVERY_DATE",
             @"repairTypeCode" : @"REPAIR_TYPE_CODE",
             @"repairTypeName" : @"REPAIR_TYPE_NAME",
             @"inWorkShopTime" : @"IN_WORKINGSHOP_TIME",
             @"assignTime" : @"FIRST_ASSIGN_TIME",
             @"isRepairing" : @"IS_REPAIRING",
             @"isEworkshop" : @"IS_EWORKSHOP",
             @"repairEndTime" : @"REPAIR_END_TIME",
             @"qualityTestTime" : @"QUALITY_TEST_TIME",
             @"repairStartTime" : @"REPAIR_START_TIME",
             @"apartDeliveryTime" : @"APART_DELIVERY_TIME",
             @"repairStatus" : @"REPAIR_STATUS",
             @"proxyNum" : @"RO_NO"
             };
}
-(BOOL)isStop{
    if ([_isRepairing isEqualToString:@"12781002"]) {
        return YES;
    }
    
    return NO;
}
-(BOOL)isOperation{
    if ([_isEworkshop isEqualToString:@"12781001"]) {
        return NO;
    }
    
    return YES;
}
@end
